package com.lemon.cloud.generator.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.lemon.cloud.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 数据源表
 */
@EqualsAndHashCode(callSuper = true)
@Data
@TableName(value = "gen_datasource_conf")
public class GenDatasourceConf extends BaseEntity {
    @TableId(value = "id", type = IdType.INPUT)
    private Long id;

    /**
     * 数据源名称
     */
    @TableField(value = "name")
    private String name;

    /**
     * jdbc-url
     */
    @TableField(value = "url")
    private String url;

    /**
     * 用户名
     */
    @TableField(value = "username")
    private String username;

    /**
     * 密码
     */
    @TableField(value = "password")
    private String password;

    /**
     * 删除标记
     */
    @TableLogic
    private String delFlag;

}
